#include <lib.h>
#define sem_freesem	_sem_freesem
#include <semaphore.h>

PUBLIC int sem_freesem(sm)
sem_t* sm;
{
  message m;
  
  m.m1_i1 = sm->id;

  return( (int) _syscall(FS, SEM_FREESEM, &m));
}
